home *** CD-ROM | disk | FTP | other *** search
- Short: Nice and tiny binary file compare tool
- Author: thor@einstein.math.tu-berlin.de
- Uploader: thor@einstein.math.tu-berlin.de
- Version: 40.3
- Type: util/cli
- Requires: OS 2.04 at least
-
- _____________________________________________________________________________
-
- The THOR-Software Licence
-
-
- This License applies to the computer programs known as "Cmp".
- The "Program", below, refers to such program.
-
-
- The programs and files in this distribution are freely distributable
- under the restrictions stated below, but are also Copyright (c)
- Thomas Richter.
-
-
- Distribution of the Program by a commercial organization without written
- permission from the author to any third party is prohibited if any payment
- is made in connection with such distribution, whether directly
- (as in payment for a copy of the Program) or indirectly (as in payment
- for some service related to the Program, or payment for some product
- or service that includes a copy of the Program "without charge";
- these are only examples, and not an exhaustive enumeration of prohibited
- activities). However, the following methods of distribution involving
- payment shall not in and of themselves be a violation of this restriction:
-
-
- (i) Posting the Program on a public access information storage and
- retrieval service for which a fee is received for retrieving information
- (such as an on-line service), provided that the fee is not
- content-dependent (i.e., the fee would be the same for retrieving the same
- volume of information consisting of random data).
-
-
-
- (ii) Distributing the Program on a CD-ROM, provided that the files
- containing the Program are reproduced entirely and verbatim on such
- CD-ROM, and provided further that all information on such CD-ROM be
- redistributable for non-commercial purposes without charge.
-
-
-
- Everything in this distribution must be kept together, in original
- and unmodified form.
-
-
-
-
- Limitations.
-
- THE PROGRAM IS PROVIDED TO YOU "AS IS," WITHOUT WARRANTY. THERE IS NO
- WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE ENTIRE
- RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD
- THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
- SERVICING, REPAIR OR CORRECTION.
-
-
-
- IF YOU DO NOT ACCEPT THIS LICENCE, YOU MUST DELETE ALL FILES CONTAINED IN
- THIS ARCHIVE.
-
- _____________________________________________________________________________
-
- Purpose of this program:
-
-
- Compare two binary files and print the difference in a TYPE HEX style output.
-
- Synopsis:
-
- Cmp FILE1/A,FILE2/A,WIDTH/N,BUFFERSIZE/N
-
- FILE1,FILE2: The two files to compare
-
- WIDTH: The width of the output, in bytes. Defaults to eight.
-
- BUFFERSIZE: The size of the I/O buffers. Default is 4096 bytes.
- The buffersize is limited by 65535 bytes, though.
-
-
- "Cmp" is so tiny, even this readme is longer than the actual binary.... ;-)
-
- _____________________________________________________________________________
-
- Changes made in 40.3:
-
- -Cmp got a bit faster, even though one could do much better.
- -The maximal buffersize was doubled...(-:
-
- _____________________________________________________________________________
-
- Changes made in 40.2:
-
- -Cmp is now pure, i.e. can be made resident.
- -Cmp uses the localized version for the "***Break" message.
-
- _____________________________________________________________________________
-
-
- Thomas,
- February 1998
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 3180 2129 33.0% 08-Feb-98 22:10:08 +Cmp
- 3538 1657 53.1% 08-Feb-98 22:00:56 +Cmp.readme
- -------- ------- ----- --------- --------
- 6718 3786 43.6% 10-Feb-98 06:02:16 2 files
-